package com.it.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * Bills账单流水管理
 */
public class Bills implements Serializable {
    private int id;
    private double profit;
    private double credit;
    private double pay_out;
    private String reason;
    private Date operation_date;

    public Bills() {
    }

    public Bills(int id, double profit, double credit, double pay_out, String reason, Date operation_date) {
        this.id = id;
        this.profit = profit;
        this.credit = credit;
        this.pay_out = pay_out;
        this.reason = reason;
        this.operation_date = operation_date;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public double getProfit() {
        return profit;
    }

    public void setProfit(double profit) {
        this.profit = profit;
    }

    public double getCredit() {
        return credit;
    }

    public void setCredit(double credit) {
        this.credit = credit;
    }

    public double getPay_out() {
        return pay_out;
    }

    public void setPay_out(double pay_out) {
        this.pay_out = pay_out;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Date getOperation_date() {
        return operation_date;
    }

    public void setOperation_date(Date operation_date) {
        this.operation_date = operation_date;
    }

    @Override
    public String toString() {
        return "Bills{" +
                "id=" + id +
                ", profit=" + profit +
                ", credit=" + credit +
                ", pay_out=" + pay_out +
                ", reason='" + reason + '\'' +
                ", operation_date=" + operation_date +
                '}';
    }
}
